﻿using System;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Activation;

namespace SSCCMembership.Web.Services
{
    [ServiceContract(Namespace = "")]
    [AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Allowed)]
    public class LoggingService
    {
        [OperationContract]
        public void Log(string Message)
        {
            ErrorHandlerBehavior.Log("Client Side Error\n" + Message);
        }

        // Add more operations here and mark them with [OperationContract]
    }
}
